{|if $message == 'error'|}
    Помилка.
{|/if|}
{|if $message == 'ok'|}
    <script type="text/javascript">window.location = "/feedbackview/"</script>
{|/if|}